//    Copyright (C) Kherty.  All rights reserved.
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using OpenLS.Chart.UI.Internals;

namespace OpenLS.Chart.UI
{
    public class Chart3DElement
    {


        public static Camera3D2DProjector GetProjector(DependencyObject obj)
        {
            return (Camera3D2DProjector)obj.GetValue(ProjectorProperty);
        }

        public static void SetProjector(DependencyObject obj, Camera3D2DProjector value)
        {
            obj.SetValue(ProjectorProperty, value);
        }

        // Using a DependencyProperty as the backing store for Projector.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty ProjectorProperty =
            DependencyProperty.RegisterAttached("Projector", typeof(Camera3D2DProjector), typeof(Chart3DElement), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits
                ));


    }
}
